﻿<Window x:Class="Alfa.Common.UI.Dialogs.ErrorMessageWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Messages.ProgramError" SizeToContent="Height" Topmost="True" WindowStartupLocation="CenterScreen" ShowInTaskbar="False" Width="350" Height="190" Closing="Window_Closing" ResizeMode="NoResize">
	<Grid Margin="5">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
		</Grid.RowDefinitions>
		<TextBlock x:Name="textBoxErrorMessage" Margin="5,0,5,5" TextWrapping="Wrap" Text="Messages.ErrorMessage" FontSize="13"/>
		<StackPanel Grid.Row="1" Width="200">
			<Button x:Name="buttonRestart" Content="Messages.RestartApplication" Margin="3" Click="ButtonRerun_Click" Padding="3"/>
			<Button x:Name="buttonReportError" Content="Messages.ReportError" Margin="3" Click="ButtonReport_Click" Padding="3"/>
			<Button x:Name="buttonClose" Content="Messages.CloseApplication" Margin="3" Click="ButtonClose_Click" Padding="3"/>
		</StackPanel>
	</Grid>
</Window>
